package com.globalresources.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Hospital entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Hospital implements java.io.Serializable {

	// Fields

	private Integer id;
	private City city;
	private String name;
	private String fax;
	private String address;
	private String email;
	private String serverFax;
	private Set documents = new HashSet(0);
	private Set detailUsers = new HashSet(0);

	// Constructors

	/** default constructor */
	public Hospital() {
	}

	/** minimal constructor */
	public Hospital(City city, String name, String serverFax) {
		this.city = city;
		this.name = name;
		this.serverFax = serverFax;
	}

	/** full constructor */
	public Hospital(City city, String name, String fax, String address, String email, String serverFax, Set documents, Set detailUsers) {
		this.city = city;
		this.name = name;
		this.fax = fax;
		this.address = address;
		this.email = email;
		this.serverFax = serverFax;
		this.documents = documents;
		this.detailUsers = detailUsers;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public City getCity() {
		return this.city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getServerFax() {
		return this.serverFax;
	}

	public void setServerFax(String serverFax) {
		this.serverFax = serverFax;
	}

	public Set getDocuments() {
		return this.documents;
	}

	public void setDocuments(Set documents) {
		this.documents = documents;
	}

	public Set getDetailUsers() {
		return this.detailUsers;
	}

	public void setDetailUsers(Set detailUsers) {
		this.detailUsers = detailUsers;
	}

}